<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
            <li class="active"><a href="{:url('Feedback/index')}">问题分类</a></li>
            <li><a href="{:url('Feedback/add')}">添加分类</a></li>
            <li><a href="{:url('Feedback/lst')}">反馈记录</a></li>
		</ul>
        <form class="well form-inline margin-top-20" method="post" action="#">
  
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
                    <th width="50">ID</th>
                    <th>问题名称</th>
                    <th>父级分类</th>
                    <th>查看</th>
				</tr>
			</thead>
			<tbody>
                <foreach name="list" item="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.name}</td>
                        <td>{$vo.fname}</td>
                        <td>
                        <a class="btn btn-xs btn-primary" href="{:url('Feedback/edit',array('id'=>$vo['id']))}">编辑</a>
                        <a class="btn btn-xs btn-danger" href="{:url('Feedback/delete',array('id'=>$vo['id']))}">删除</a>
                        <if condition="!$vo['pid']">
                        <a class="btn btn-xs btn-primary" href="{:url('Feedback/lst',array('id'=>$vo['id']))}">用户反馈记录</a>
                    </if>
                    </td>
                    </tr>
                </foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>